/**
 * 微信分享标题
 */
const SHARE_TITLE = {
  //首页分享标题
  CATALOG_HOME_TITLE: "好喝不贵有故事的诚意推荐",
  //社区首页分享标题
  SOCIAL_HOME_TITLE: "微醺时来这里寻找相似的灵魂",
  //社区平道首页分享标题
  SOCIAL_TOPIC_LIST_HOME_TITLE: "社区频道首页",
};

/**
 * 小程序模块URL地址
 */
const PAGE_URL = {
  CATALOG_HOME_URL: "/pages/catalog/home/index",

  SOCIAL_HOME_URL: "/pages/sns/home/index",
  SOCIAL_FEED_INFO_URL: "/pages/sns/feed/info/index",
  SOCIAL_FEED_POST_URL: "/pages/sns/feed/post/index",
  SOCIAL_TOPIC_INFO_URL: "/pages/sns/topic/info/index"
};

module.exports = { 
  ALIYUN_UPLOAD_URL: "https://eval.oss-cn-hangzhou.aliyuncs.com",
  ALIYUN_OSS_ACCESSKEY_ID: 'LTAI5gIlkOkT4jnm',
  ALIYUN_OSS_ACCESSKEY_SECRET: 'C20v2eXG2apX0WuyMuyT8FIO1AhQzh',
  ALIYUN_UPLOAD_TIMEOUT: 87600,

  ALIYUN_FEED_UPLOAD_PATH: "images/feed/",
  ALIYUN_ENDPOINT: "https://eval.oss-cn-hangzhou.aliyuncs.com/",

  MAX_FEED_IMAGE_COUNT: 9,

  SNS_HOME_PAGE_SIZE: 5,

  ALIYUN_IMAGE_THUMBNAIL: '?x-oss-process=style/thumbnail',

  s: SHARE_TITLE,
  u: PAGE_URL,

  SNS_TAB_RECOMMEND: "SNS_TAB_RECOMMEND",
  SNS_TAB_FOLLOWED: "SNS_TAB_FOLLOWED",

  LOGO_URL: 'http://eval.oss-cn-hangzhou.aliyuncs.com/logo.jpg',

  DEFAULT_AVATAR: '',

  QQ_MAP_KEY: 'XLGBZ-RYNWX-MV34S-7D6O6-P3S7K-RPFOV',
  QQ_MAP_WEBSERVICE_URL: 'https://apis.map.qq.com/ws/geocoder/v1/?key=XLGBZ-RYNWX-MV34S-7D6O6-P3S7K-RPFOV'
}